# -*- coding: utf-8 -*-
# @Time        :2025/4/7 17:28
# @Author      :文刀水寿
# @File        : views.py
"""
 @Description :路由 +  视图函数
"""
# 蓝图
from flask import Blueprint, render_template


# 可以管理多个蓝图
blue = Blueprint('user', __name__)
# blue2 = Blueprint('user2', __name__)


@blue.route('/')
def index():
    pass
    data = {
        'name': 'ikun ikun ikun',
        'age': 6,
        'likes': ['balls', 'sing', 'dance', 'code']
    }
    # return render_template('home.html', **data)
    # 等于下边
    # return render_template('home.html', name='inkun', age=26)

    return render_template('child2.html', **data)
